package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/12/30.
 */

public class GwUpgradResultEvent extends SmartHomeEvent{

    private int deviceId;
    private boolean success;

    public GwUpgradResultEvent(String ccuId, int deviceId,boolean success) {
        super(ccuId);
        this.deviceId = deviceId;
        this.success = success;
    }

    public int getDeviceId() {
        return deviceId;
    }

    public boolean isSuccess() {
        return success;
    }
}
